package com.mujin.keji.collectionsystem.db.domain;

import android.arch.persistence.room.ColumnInfo;
import android.arch.persistence.room.Entity;
import android.arch.persistence.room.PrimaryKey;

/**
 * 签到请求参数
 *
 * @author weishixiong
 * @Time 2018-04-28
 */
@Entity(tableName = "rc_cp_visitor_sign")
public class SignBean {

    //主键 自增长
    @PrimaryKey(autoGenerate = true)
    private Long id;

    @ColumnInfo(name = "userId")
    private Long userId;
    @ColumnInfo(name = "signAddress")
    private String signAddress;//	签到地址	string	@mock=深圳市南山区生态科技园
    @ColumnInfo(name = "signDate")
    private String signDate;//	签到日期，格式：YYYY-MM-DD	string	@mock=2018-04-27
    @ColumnInfo(name = "source")
    private String source;//	操作系统，1-ios 2-android	number	@mock=6

    public Long getId() {
        return id;
    }

    public Long getUserId() {
        return userId;
    }

    public void setUserId(Long userId) {
        this.userId = userId;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getSignAddress() {
        return signAddress;
    }

    public void setSignAddress(String signAddress) {
        this.signAddress = signAddress;
    }

    public String getSignDate() {
        return signDate;
    }

    public void setSignDate(String signDate) {
        this.signDate = signDate;
    }

    public String getSource() {
        return source;
    }

    public void setSource(String source) {
        this.source = source;
    }
}
